package com.xuxin.pda.contract;

import com.xuxin.pda.bean.LoginBean;
import com.xuxin.pda.presenter.LoginPresenter;

/**
 * Created by xu_xin
 * Created on 2020/12/24 0024
 */
public interface LoginContract {

    interface Model {

        void login(LoginPresenter presenter, String code);
    }

    interface View extends BaseContract.view {

        void onSuccess(LoginBean loginBean);
    }

    interface Presenter extends BaseContract.presenter {

        void login(String code);

        void onSuccess(LoginBean loginBean);
    }
}